<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        let first = [
            { name: "王小婷", nick: "祈澈菇凉" },
            { name: "安安", nick: "坏兔子" },
            { name: "编程微刊", nick: "简书" },
            { name: "dio", nick: "hao兔子" },
            { name: "kk", nick: "huang兔子" },
        ];
        let two = { "name": "王小婷", "nick": "祈澈菇凉" }
        let three = { "Name": "王大大", "Nike": "AIR FORCE 1" }
        console.log(Object.keys(first))
        for (let i = 0; i < first.length; i++) {
            console.log(String(first[i]))
        }
        for (let s in Object.keys(first)) {
            console.log(first[s])
        }
        // console.log(first)
        // console.log(Object.values(first))
        // console.log(Object.values(two))
        // console.log(Object.keys(two))
    </script>
</body>

</html>